import request from '/@/utils/request'

import {module} from '/@/api/ums'

const prefix = module + "/customerFieldState/"

/**
 * <p>客户阶段 API</p>
 * @author starshine 小郭
 */
export function customerFieldStateApi() {

    return {
        // add: (data?: any): any => request({url: prefix + 'add', method: 'post', data,}),
        // edit: (data?: any): any => request({url: prefix + 'edit', method: 'put', data,}),
        // del: (data?: any): any => request({url: prefix + 'del', method: 'delete', data,}),
        query: (params: any): any => request({url: prefix + 'query', method: 'get', params}),
        batchVisible: (data: any,params: any): any => request({
            url: prefix + 'batchVisible',
            method: 'put',
            data,
            params
        }),
        prefix,
    };

}
